package com.zmj.sy.mom.srv.aps.bean.vo.report;


import com.zmj.sy.mom.srv.aps.utils.Comment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Getter
@Setter
public class ReportPickListReqVo {

    @Comment("领料状态: 0全部 1待打包 2已领料未下发 3已领料已下发 4已出库 5已开工 6已报工")
    private Integer status;

    @ApiModelProperty("套料图号")
    private String nestId;

    @ApiModelProperty("工作组编码")
    private List<String> groupCodes;

    @ApiModelProperty("钢板号")
    private String plateCode;

    @ApiModelProperty("领料单")
    private String pickingListNo;

    @ApiModelProperty("规格")
    private String spec;

    @ApiModelProperty("垛位")
    private String storeCode;

    @ApiModelProperty("垛位层号")
    private Integer seq;

    @ApiModelProperty("厚度")
    private BigDecimal thickness;

    @ApiModelProperty("板标长度")
    private BigDecimal length;

    @ApiModelProperty("板标宽度")
    private BigDecimal width;

    @ApiModelProperty("切割工作组")
    private String splitGroupCode;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("计划开始时间")
    private LocalDate planStartDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("计划结束时间")
    private LocalDate planEndDate;

    @ApiModelProperty("钢板状态")
    private Integer plateStatus;

    /*
    @ApiModelProperty("排序字段")
    private String sort;

    @ApiModelProperty("排序方式")
    private String order;
     */

    @ApiModelProperty("对比方式")
    private Map<String,String> queryType = new HashMap<>();

}
